package org.example;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @author jack wu
 * @date created by jack wu on 08 12,2023
 * ^^-^^
 */
@Data
public class ExcelData {
    @ExcelProperty(value = "学生姓名", index = 0)
    private String name;
    @ExcelProperty(value = "年龄", index = 1)
    private int age;
    @ExcelProperty(value = "性别", index = 2)
    private String gender;

    @ExcelProperty(value = {"课程名称"}, index = 3)
    private String courseName;

    @ExcelProperty(value = {"分数"}, index = 4)
    private double score;
}
